// https://umijs.org/config/
import { defineConfig } from 'umi';
import proxy from './proxy';

const { REACT_APP_ENV } = process.env;

export default defineConfig({
  headScripts: [
    {
      src: '/config-dev.js'
    }
  ],
  proxy: proxy[REACT_APP_ENV || 'dev'],
});
